package com.jt.pojo;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
/**
 * @author dc
 */
@EqualsAndHashCode(callSuper = true)
@TableName("tb_order_item")
@Data
@Accessors(chain=true)
@NoArgsConstructor
@AllArgsConstructor
public class OrderItem extends BasePojo{
    private static final long serialVersionUID = 3022771353114047605L;
    @TableId
    private String itemId;
	
	@TableId	
    private String orderId;

    private Integer num;

    private String title;

    private Long price;

    private Long totalFee;

    private String picPath;

    /**表示此属性非数据库所需字段
     * 1:为已评价 0：默认为未评价
     * */
    @TableField(exist = false)
    private Integer flag=0;
}